package com.springCrud.simpleCrud.service;

import java.util.List;

import com.springCrud.simpleCrud.entity.SimpleCrud;
import com.springCrud.simpleCrud.util.Constraint;
import com.springCrud.simpleCrud.util.OrderMap;
import com.springCrud.simpleCrud.util.SearchResult;

public interface SimpleCrudService {
	
	public SearchResult searchSimpleCrud(Constraint constraint, OrderMap orderMap, 
			boolean isUsingPaging, int offset, int pageSize);
	
	public SimpleCrud findSimpleCrudById(Long id);
	
	public void save(SimpleCrud simpleCrud);
	
}
